home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
devel
/
vbcc-ppc
/
machines
/
amiga
/
doc
/
autolib.doc
next >
Wrap
Text File
|
1999-01-01
|
1KB
|
42 lines
INTRODUCTION
auto.lib/libauto.a is a link library for vbcc which contains functions
to automagically open/close standard Amiga shared libraries.
LEGAL
genauto is (c) by Frank Wille.
auto.lib is public domain.
USAGE
To link with auto.lib (or the small data version autos.lib) specify
the -lauto or -lautos option to vc. You have to use vlink 0.6c or
later.
When you are calling a standard Amiga library function and do not
have defined the corresponding library base then the library base
as well as code to open/close it will be taken from auto.lib.
By default, auto.lib will try to open any library version. If you
need at least a certain version you can define and set a variable
_<library-base>Ver with external linkage, e.g. (on file-scope):
int _IntuitionBaseVer = 39;
Note that your program will abort before reaching main() if one
of the libraries cannot be opened. Also note that the dos.library
will be openened by the standard startup code, not by auto.lib.
This means you have to open dos.library yourself, when linking
with minstart.o.
If you want third party libraries opened by auto.lib, add their
FD-files to Make_autolib.script and rebuild the library.
Frank Wille and Volker Barthelmann